package com.example.hackaton_it_planet.data.model

import com.example.hackaton_it_planet.data.model.entities.WalletEntity

data class Wallet(
    val id: Int = 0,
    val name: String,
    val moneySpent: Double
) {
    fun toWalletEntity() =
        WalletEntity(
            id, name, moneySpent
        )
}